package com.service;

import com.bean.entity.Supplier;
import com.bean.vo.PageAssistant;
import com.bean.vo.SupplierVo;

/**
 * 材料供应商信息接口
 */
public interface SupplierService {
    /* 查询供应商信息 */
    PageAssistant<SupplierVo> queryAll(PageAssistant<SupplierVo> pa, SupplierVo supplierVo);
    /* 查询详细信息 */
    SupplierVo query(Supplier supplier) throws Exception;
    /* 添加供应商信息 */
    int save(Supplier supplier) throws Exception;
    /* 修改供应商信息 */
    int modify(SupplierVo supplierVo) throws Exception;
    /* 删除供应商信息 */
    int remove(Supplier supplier) throws Exception;
}
